#
CC   = gcc
CXX  = g++
DLLWRAP = dllwrap
RM = rm -vf

#
PYTHON_DIR = D:\Progs\Python25

LIBS = -L"$(PYTHON_DIR)\libs" -lpython25
INCS = -I"$(PYTHON_DIR)\include"

CFLAGS = $(INCS) -mno-cygwin -O -Wall
CXXFLAGS = $(INCS) -mno-cygwin -O -Wall
LDFLAGS = $(LIBS) -mno-cygwin -static 
DWFLAGS = -mno-cygwin -mdll -static

#
OBJ  = hello.o
BIN  = hello.exe


all: hello.exe


clean:
	$(RM) $(OBJ) $(BIN) *.pyc

$(BIN): $(OBJ)
	$(CXX) $< -o $@ $(LDFLAGS)

%.o: src/%.cpp
	$(CXX) -g -c $< -o $@ $(CXXFLAGS)

